package cn.wolf.wechat.util;

public class TokenUtil {
    public final static String CONFIG_TOKE = "wolfcode";
    public final static String APP_ID = "wx2d949aed5010c125";
    public final static String APP_SECRET = "8f1da6bf7190b8b2258436008905a922";

    public final static String GET_ACCESS_TOKEN = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET";

    public final static String POST_CREATE_INTERFACE = "https://api.weixin.qq.com/cgi-bin/menu/create?access_token=ACCES_TOKEN";

    public final static String GET_USER_INFO = "https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID&lang=zh_CN";

    public final static String EXCHANGE_ACCESS_TOKEN = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";

    public final static String JSON_INTERFACE = "{\"button\":[{\"type\":\"click\",\"name\":\"咨询\",\"key\":\"Advisory\"},{\"name\":\"学习路线\",\"sub_button\":[{\"type\":\"view\",\"name\":\"前端学习路线\",\"url\":\"https://www.baidu.com/\"},{\"type\":\"view\",\"name\":\"java学习路线\",\"url\":\"https://www.wolfcode.cn/java.html\"},{\"type\":\"view\",\"name\":\"周边商城\",\"url\":\"https://www.bilibili.com/\"}]},{\t\"type\":\"click\",\"name\":\"打赏作者\",\"key\":\"PleaseMoney\"}]}";

}
